<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      //   let uname = 'harry'

      const obj = {
        uname: 'harry',
        age: 16,
        tall: 170,
        weight: 200,
      }
      console.log(obj)

      //   let uname = obj.uname
      //   let age = obj.age
      //   let tall = obj.tall
      //   let weight = obj.weight

      //   let myName = obj.uname
      //   let myAge = obj.age
      //   let myTall = obj.tall
      //   let myWeight = obj.weight

      let { uname, age, tall, weight } = obj

      console.log(uname, age, tall, weight)

      //   console.log(myName, myAge, myTall, myWeight)
    </script>
  </body>
</html>
